From 7c034cc28371d58f76627065304b55458bbf3316 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 9 Jun 2022 07:16:13 +0200 Subject: [PATCH] inscription: Set css name We use "label" just like GtkLabel as the two widgets differ in the way they are measured, but they should be styled the same. If it turns out we change our opinion on this for specific cases, we can add style classes later. --- gtk/gtkinscription.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkinscription.c b/gtk/gtkinscription.c index ffe7ffd09c..e043e3a0e4 100644 --- a/gtk/gtkinscription.c +++ b/gtk/gtkinscription.c @@ -654,6 +654,7 @@ gtk_inscription_class_init (GtkInscriptionClass *klass) g_object_class_install_properties (gobject_class, N_PROPS, properties); + gtk_widget_class_set_css_name (widget_class, "label"); gtk_widget_class_set_accessible_role (widget_class, GTK_ACCESSIBLE_ROLE_LABEL); } -- 2.30.2